export { }

const res = [1, 2, 3, 4, 5]

const x = res.find(i => i > 0)

// const y=x*x //报错  x 可能为undefined 或者number

const z = x as number
const o = <number>x //jsx 下不能正常使用